def is_symmetry(my_str):
    i = 0
    j = len(my_str) - 1
    while i < j:
        if my_str[i] != my_str[j]:
            return False
        i += 1
        j -= 1
    return True


def usr_func():
    try:
        num = int(input("请输入整数\n"))
        my_str = str(num)
        if is_symmetry(my_str):
            print("是对称数")
        else:
            print("不是对称数")
    except Exception as e:
        print(e)


if __name__ == '__main__':
    usr_func()